import { Badge } from "antd";
export default (_, record) => {
  return (
    <>
      <span
        className={record.status === 1 ? "my-badge-success" : "my-badge-error"}
      ></span>
      {/* <Badge status={record.status === 1 ? "success" : "error"} /> */}
      {record.status === 1 ? "启用" : "禁用"}
    </>
  );
};
